package org.example.kidscode.repository;

import org.example.kidscode.entity.CardStatistics;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CardStatisticsRepository extends JpaRepository<CardStatistics, Long> {
    List<CardStatistics> findByStudentId(String studentId);
    List<CardStatistics> findByCardId(String cardId);
}

